package test_main;
public class TestMain {
    public static void main(String[] args) {
        MySuper ms = new MySub();
        System.out.println(ms instanceof IA);//f
        System.out.println(ms instanceof IB);//t
        System.out.println(ms instanceof MySuper);//t
        System.out.println(ms instanceof MySub);//t

        Integer integer = 1000;
    }
}
interface IA{
    void ma();
}
interface IB{
    void mb();
}
class MySuper implements IA{
    @Override
    public void ma() {

    }
}
class MySub extends MySuper implements IB{
    @Override
    public void mb() {

    }
}
